package com.cuixichang.minimalism.transfer.page;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.cuixichang.minimalism.basal.core.BasePageRequest;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
/**
 * 系统角色权限关系表对象实体
 *
 * @author cuixichang
 * @date 2024-12-18
 */

@ApiModel(value = "IRolePermission分页请求对象" , description = "系统角色权限关系表" ,parent = BasePageRequest.class)
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class IRolePermissionPageRequest extends BasePageRequest{
    @ApiModelProperty(value = "角色id", name = "roleId")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long roleId;
    @ApiModelProperty(value = "权限id", name = "permissionId")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long permissionId;
}
